﻿#ifndef WORKMOVETOTHREAD_H
#define WORKMOVETOTHREAD_H

/**
 * 自定义WorkMoveToThread继承自QObject 构造函数中调用movetothread方法，并start线程
 *
 */
#include <QObject>
#include <QDebug>
#include <QDateTime>
#include "mythread.h"
class WorkMoveToThread : public QObject
{
    Q_OBJECT
public:
    explicit WorkMoveToThread(QObject *parent = nullptr);
    virtual ~WorkMoveToThread();
    virtual void callWorkMoveToThread();
signals:

public slots:
    virtual void slotWorkMoveToThread();
};

#endif // WORKMOVETOTHREAD_H
